package com.zc.dao;

import com.zc.entity.OralDefense;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IOralDefenseDao {

    /**
     * 根据学生id查询相关的导师
     * @param id
     * @return
     */
    public List<OralDefense> findByStudentId(@Param("studentid") Integer studentid);
    public List<OralDefense> findByTacherId(@Param("teacherid") Integer teacherid);
    public void add(OralDefense oralDefense);
    public void update(@Param("score") Integer score,@Param("studentid") Integer studentid,@Param("teacherid") Integer teacherid);
}
